////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011-2012 www.iflytek.com. All Rights Reserved.
//  This software for customer relationship management system, developed by Noo team.
//  Software code and design for the team, copy rights reserved.
////////////////////////////////////////////////////////////////////////////////

package com.iflytek.ci.cums.domain;

import java.io.Serializable;

/**
 * <p>
 * Rights objects,that role.
 * </p>
 * 
 * @author poplar.yfyang
 * @version 1.0 2012-11-17 8:40 PM
 * @since JDK 1.5
 */
public class Permissions implements Serializable {
	/** serial version */
	private static final long serialVersionUID = -2954605142413268830L;
	/** Access key */
	private int id;
	/** role's primary key */
	private int role;
	/** permission value */
	private String permission;

	/**
	 * Access key
	 * 
	 * @return Access key
	 */
	public int getId() {
		return id;
	}

	/**
	 * Access key
	 * 
	 * @param id
	 *            Access key
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * role's primary key
	 * 
	 * @return role's primary key
	 */
	public int getRole() {
		return role;
	}

	/**
	 * role's primary key
	 * 
	 * @param role
	 *            role's primary key
	 */
	public void setRole(int role) {
		this.role = role;
	}

	/**
	 * permission value
	 * 
	 * @return permission value
	 */
	public String getPermission() {
		return permission;
	}

	/**
	 * permission value
	 * 
	 * @param permission
	 *            permission value
	 */
	public void setPermission(String permission) {
		this.permission = permission;
	}
}
